from django.core.mail import send_mail
from django.conf import settings
from celery_tasks.main import app

@app.task(name='send_email')
def send_email(subject,to_email,html_message):
    send_mail(subject, '', settings.EMAIL_FROM, [to_email], html_message=html_message)


@app.task(name='a_print')
def a_print():
    print('aaaaa')